net: ena: enable the interrupt_moderation in driver_supported_features
authorArthur Kiyanovski <akiyano@amazon.com>
Mon, 16 Sep 2019 11:31:29 +0000 (14:31 +0300)
committerSalvatore Bonaccorso <carnil@debian.org>
Sat, 7 Dec 2019 12:24:06 +0000 (12:24 +0000)
commitb1409a10f41e839e0ea9249b66ef1ddf20e9be91
treec5988405844083bf5b9e4f98929979e41b6aab0a
parentccd838481a1863e0064bb9f550fe2d992b1a3783
net: ena: enable the interrupt_moderation in driver_supported_features

Add driver_supported_features to host_host info which is a new API used to
communicate to the device which features are supported by the driver.

Add the interrupt_moderation bit to host_info->driver_supported_features
and enable it to signal the device that this driver supports interrupt
moderation properly.

Reserved bits are for features implemented in the future

Signed-off-by: Arthur Kiyanovski <akiyano@amazon.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Gbp-Pq: Topic features/all/ena
Gbp-Pq: Name 0005-net-ena-enable-the-interrupt_moderation-in-driver_su.patch
drivers/net/ethernet/amazon/ena/ena_admin_defs.h
drivers/net/ethernet/amazon/ena/ena_netdev.c